package com.atguigu.order.orders.feign;


import com.atguigu.order.vo.MemberAddressVo;
import com.atguigu.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


@FeignClient("gulimall-cart")
public interface CartFeign {
    //远程调用获取购物车中选中的数据
    @GetMapping("orderToCart")
    List<OrderItemVo> orderToCart();
}
